package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoStockOutVO;

import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;

public class StoStockOutDubboServiceMock implements  StoStockOutDubboService {
    @Override
    public StoStockOutVO getById(String id) throws Exception {
        StoStockOutVO vo =  new  StoStockOutVO();
        vo.setStockOutNo("暂无数据");
        return null;
    }

    @Override
    public void saveOrUpdate(StoStockOutVO stoStockOutVO) throws InvocationTargetException, IllegalAccessException {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoStockOutVO> findPageByVO(StoStockOutVO stoStockOutVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException {
        PageInfo<StoStockOutVO> page =  new   PageInfo<StoStockOutVO>();
        List list  =  new ArrayList();
        StoStockOutVO vo =  new StoStockOutVO();
        vo.setStockOutNo("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;

    }
}
